﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using SharpArch.Domain.DomainModel;

namespace ChampionsLeagueBets.Domain
{
	[DisplayName("Zaproszenie")]
	public class Invitation : BaseEntity
	{
		/// <summary>
		/// Guid zaproszenia.
		/// </summary>
		[Required]
		[DisplayName("Guid zaproszenia")]
		public virtual Guid InvitationGuid { get; set; }
		/// <summary>
		/// Utworzenie zaproszenia.
		/// </summary>
		[Required]
		[DisplayName("Utworzenie zaproszenia")]
		public virtual DateTime CreateDate { get; set; }
		/// <summary>
		/// Zapraszający.
		/// </summary>
		[Required]
		[DisplayName("Zapraszający")]
		public virtual User InvitingUser { get; set; }
		/// <summary>
		/// Adred email zapraszanego.
		/// </summary>
		[Required]
		[DisplayName("Adres zapraszanaego")]
		public virtual string InvitedEmail { get; set; }
		/// <summary>
		/// Zapraszający.
		/// </summary>
		[Required]
		[DisplayName("Zaproszony")]
		public virtual InvitedPerson InvitedPerson { get; set; }
	}
}
